package com.example.lending.View;


import android.os.Bundle;

import androidx.fragment.app.Fragment;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.EditText;

import com.example.lending.R;

/**
 * A simple {@link Fragment} subclass.
 */
public class UpdataBorrowFragment extends Fragment {//废弃掉，这个不能写，管理员也不能更改borrow的数据，否则会有偏差
    EditText et_name,et_username,et_id,et_durting,et_state;
    Button button;//

    public UpdataBorrowFragment() {
        // Required empty public constructor
    }
    public void inteView(){
        et_durting=getView().findViewById(R.id.et_updataborrow_during);
        et_name=getView().findViewById(R.id.et_updataborrow_name);
        et_username=getView().findViewById(R.id.et_updataborrow_username);
        et_id=getView().findViewById(R.id.et_updataborrow_id);
        et_state=getView().findViewById(R.id.et_updataborrow_state);
        button=getView().findViewById(R.id.btn_borrow_update);
    }



    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        // Inflate the layout for this fragment
        return inflater.inflate(R.layout.fragment_updata_borrow, container, false);
    }

}
